<template>
	<view class="content fofa">
		<tabnav title="关于我们" :col="back"></tabnav>
		<view style="height: 120rpx;"></view>
		<view class="dis disAl disJuC" style="">
			<image src="https://www.sign.run/applet/static/wode/zxImage.png" style="width: 138rpx;height: 144rpx;"></image>
		</view>
		<view class="textCen fowe800 foSi40" style="margin-top: 40	rpx;">千羽电子签</view>
		<view class="wid87 mar bacFFF borRad10 box1" style="margin-top: 100rpx;">
			<block v-for="(item,index) in list" :key="index">
				<view class="wid90 mar dis disAl disJuB" 
				@click="tiaozhuan('/pages/common/richtext?xq=1&id='+item.id)" 
				style="height: 119rpx;">
					<view class="foSi30">{{item.title}}</view>
					<uni-icons size="25" type="right"></uni-icons>
				</view>
				<view v-if="index+1 != list.length" class="xia"></view>
			</block>
		</view>
	</view>
</template>

<script>
	import tabnav from "../common/tabnav/tabnav.vue"
	export default {
		components: {
			tabnav,
		},
		data() {
			return {
				aurl:this.global.url,
				back: uni.getStorageSync('back'),
				list: []
			}
		},
		onLoad() {
			this.appletList()
		},
		methods: {
			appletList(){
				var that = this
				uni.showLoading({
					title:'加载中...'
				})
				uni.request({
					url: that.global.url+'api/qianyu_dzq/applet_about_my_list',
					method: 'POST',
					header:{'site-id':that.global.site_id},
					data: {},
					success(res) {
					    let result = res.data
						console.log(result);
					    if(result.code == 1){
					       that.list = result.data
					    }else{
					        uni.showToast({
					            title: result.msg,
					            icon:'none',
								duration: 2000
					        })
					    }
					},
					complete() {
						uni.hideLoading()
					}
				})
			},
			tiaozhuan(url){
				uni.navigateTo({
					url: url
				});
			},
		}
	}
</script>

<style>
	.content {
		height: 100vh;
		background-color: #F4F3F3;
	}
	.xia{
		height: 1rpx;
		background: #e7e7e7;
	}
</style>
